package com.thomas.framework.service;

import com.thomas.framework.core.IService;
import com.thomas.framework.entity.SysModel;
import com.thomas.framework.entity.SysRole;
import com.thomas.framework.entity.SysUser;

import java.util.List;

/**
 * Created by taohj on 2015/1/6.
 */
public interface ISysModelService extends IService<SysModel> {


    public List<SysModel> getTreeModel(SysRole role);

    public List<SysModel> getFunctionMenuBySysRole(SysRole role);


    public List<SysModel> getChrildren(SysModel model);

    public List<SysModel> getTreeModel(SysUser user);


    public List<SysModel> getFunctionByUser(SysUser user);

    public List<SysModel> getMenuByUser(SysUser user);

    public List<SysModel> getFunctionByAdmin();

    public List<SysModel> getMenuByAdmin();

}
